import React, { ReactElement, ReactNode } from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import styles from '@/pages/index.less'

interface Props {
    children?: ReactNode
}

export default function index({ children }: Props): ReactElement {
    return (
        <div className={styles.warp }>
            <PageHeaderWrapper></PageHeaderWrapper>
           <div className={ styles.card }>
               { children }
           </div>
        </div>
    )
}
